<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<style>
.formTable{text-align:left;}

.onError{
	padding: 0px;
}

</style>
<h1>银行卡鉴权</h1>
<script type="text/javascript" src="${ctx}/pages/templete/js/validate/auth_new.js"></script>
<form id="form" action="${ctx}/authnew/doAuth.do" method="POST" target="_blank" >
	<input type="hidden" name="VerficationCode" value="${config.verficationCode }"/>
	<table width="100%" class="formTable">
		<tr>
			<td width="35%" align=right>版本号:</td>
			<td>
				<select id="version" name="version">
					<option value="2.0" selected >2.0</option>
				 	<!--  <option value="1.1">1.1</option>-->
				</select>
			</td>
		</tr>
		<tr>
			<td align=right>交易代码:</td>
			<td>
				<input type="text" id="tranCode" name="tranCode" value="${config.tranCode}" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>企业ID:</td>
			<td>
				<input type="text" id="merchantID" name="merchantID" value="${config.merchantID }" size="50"/>
			</td>
			<td  width="25%"  align=left>
				<font color=red>*</font>
				<span id="merchantIDTip"></span>
			</td>
		</tr>
		
		<tr>
			<td align=right>订单号:</td>
			<td>
				<input type="text" id="merOrderNum" name="merOrderNum" value="" size="50" autoComplete="off"/>
			</td>
			<td width="30%" align=left>
				<font color=red>*</font>
				<span id="merOrderNumTip"></span>
			</td>
		</tr>

		<tr>
			<td width="30%" align=right>国付宝账户:</td>
			<td align=left width="45%">
				<input type="text"
				  id="virCardNoIn" name="virCardNoIn" value="${config.merAcct}"
				  size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
					id="virCardNoInTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>银行代码:</td>
			<td align=left width="45%"><input type="text"
														  id="bankCode" name="bankCode" value="TBANK" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
					id="bankCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>姓名:</td>
			<td align=left width="45%"><input type="text"
														  id="buyerRealName" name="buyerRealName" value="" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
					id="buyerRealNameTip"></span>
			</td>
		</tr>

		<tr>
			<td width="30%" align=right>身份证:</td>
			<td align=left width="45%"><input type="text"
														  id="buyerRealCertNo" name="buyerRealCertNo" value="" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
					id="buyerRealCertNoTip"></span>
			</td>
		</tr>

		<tr>
			<td width="30%" align=right>银行卡号:</td>
			<td align=left width="45%"><input type="text"
														  id="buyerRealBankAcctNum" name="buyerRealBankAcctNum" value="" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
					id="buyerRealBankAcctNumTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>手机号:</td>
			<td align=left width="45%"><input type="text"
														  id="buyerRealMobile" name="buyerRealMobile" value="" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
					id="buyerRealMobileTip"></span>
			</td>
		</tr>

		<tr>
			<td width="30%" align=right>证件类型:</td>
			<td align=left width="45%"><input type="text"
														  id="certificateType" name="certificateType" value="01" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
					id="certificateTypeTip"></span>
			</td>
		</tr>
		<tr><td align=right></td><td align=center>01 身份证，只能是01</td></tr>

		<tr>
			<td width="30%" align=right>国付宝服务器时间:</td>
			<td align=left width="45%">
				<input type="text"
					  id="gopayServerTime" name="gopayServerTime"
					  value="${config.gopayServerTime}" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td align=right>交易时间:</td>
			<td><input type="text" id="tranDateTime" name="tranDateTime" value="${config.tranDateTime }" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="tranDateTimeTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>交易备注:</td>
			<td><input type="text" id="merRemark1" name="merRemark1" value="网关银行卡鉴权测试" size="50" /></td>
		</tr>
		
		<tr><td align=right>编码方式:  </td><td><input type="text"  id="charset" name="charset" value="2" size="50"/></td></tr>
		<tr><td align=right></td><td align=center>1:GBK,2:UTF-8</td></tr>
		<tr><td align=right>语言种类:  </td><td><input type="text" id=" language" name="language" value="1" size="50"/></td></tr>
		<tr><td align=right></td><td align=center>1:ZH,2:EN</td></tr>
		<tr><td align=right>签名类型:  </td><td><input type="text" id="signType" name="signType" value="1" size="50"/></td></tr>
		<tr><td align=right></td><td align=center>1.md5,2.sha,3.api</td></tr>
		<tr style="display: none"><td align=right>商户识别码:  </td><td><input type="text" id="verficationCode" name="verficationCode" value="${config.verficationCode }" size="50"/></td></tr>
		<tr>
			<td colspan=3 width="100%">
				<center>
					<input type="button" value="设置订单" id="defButton" name="defButton"/>
					<input type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>
	</table>
</form>